#ifndef SQLPARSER_DROP_STATEMENT_H
#define SQLPARSER_DROP_STATEMENT_H

#include "SQLStatement.h"

// Note: Implementations of constructors and destructors can be found in statements.cpp.
namespace hsql {

	enum DropType {
		kDropTable,
		kDropSchema,
		kDropIndex,
		kDropView,
		kDropPreparedStatement
	};

	// Represents SQL Delete statements.
	// Example "DROP TABLE students;"
	struct DropStatement : SQLStatement {

		DropStatement(DropType type);
		virtual ~DropStatement();
		virtual std::string execute(std::string username = "default");

		DropType type;
		bool ifExists;
		char* schema;
		char* name;
	};

} // namespace hsql
#endif